{% load static %}

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    {% block css %}{% endblock %}
</head>
<body>
<h1>登录页面</h1>
{% comment %}<a href="{% url 'login' %}">跳转</a>{% endcomment %}

{% comment %}<img src="{% static 'api/1.png' %}">{% endcomment %}
<p>
    {{ name|upper }} ’s age is {{ age }}

    {{ n1.0 }}
    {{ n1.1 }}
    {{ n2.name }}
    {{ n2.age }}
    {{ n3.name }}
    {{ n3.age }}
    {{ n4|date:"Y-m-d H:i:s" }}
</p>
<url>
    <ul>
        {% for e in n1 %}
            <li>{{ e }}</li>
        {% endfor %}
    </ul>
</url>
<hr>
<h1>头部</h1>
{% block body %}{% endblock %}
<h1>尾部</h1>
<script src="公共js"></script>
{% block js %}{% endblock %}


</body>
</html>